public class Date {
    public int year;
    public int month;
    public int day;

    public Date(int year,int month,int day ){
        System.out.println(this.year);
        System.out.println(this.month);
        System.out.println(this.day);
    }
    public void printDate(){
        System.out.println(year+"年"+month+"月"+day+"日");
    }

    public static void main(String[] args) {
        Date date=new Date(2025,1,1);
        date.printDate();
    }
}
